package cn.ymjr.business.dao;

import cn.ymjr.business.entity.SysOrder;
import cn.ymjr.sys.config.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysOrderMapper extends BaseMapper<SysOrder> {
    SysOrder selectByOrderNo(String orderNo);

    List<SysOrder> findPage(@Param(value = "userId") Integer userId, @Param(value = "orderStatus") Integer orderStatus);
}